package yhao.demo.service.login.apilist;

import yhao.infra.apilist.JsonReturnCode;

public enum ReturnCodeEnum implements JsonReturnCode {
    FOA_LOGIN_0001("登录次数过多，请两分钟后再试"),
    FOA_LOGIN_0002("密码不正确"),
    FOA_LOGIN_0003("用户不存在"),

    ;
    private String msg;

    ReturnCodeEnum(String msg){
        this.msg = msg;
    }

    @Override
    public String getMessage() {
        return msg;
    }

    @Override
    public String getStatus() {
        return name();
    }
}
